package com.example.web.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: xss-demo
 * @description:
 * @author: ChenZhiXiang
 * @create: 2019-07-22 17:06
 **/
@RestController
public class TestController {

    @GetMapping("/add")
    public Object add(@RequestParam String name){
        return name;
    }

}
